<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/18
  Time: 10:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>显示所有的员工</title>
</head>
<body>
    <table border="1px">
        <tr>
            <td>员工编号</td>
            <td>员工姓名</td>
            <td>工作</td>
            <td>上级</td>
            <td>入职日期</td>
            <td>工资</td>
            <td>奖金</td>
            <td>部门编号</td>
        </tr>
        <c:forEach items="${empList}" var="emp">
            <tr>
            <td>${emp.empno}</td>
            <td>${emp.ename}</td>
            <td>${emp.job}</td>
            <td>${emp.mgr}</td>
            <td>${emp.hiredate}</td>
            <td>${emp.sal}</td>
            <td>${emp.comm}</td>
            <td>${emp.deptno}</td>
            </tr>
        </c:forEach>

    </table>
</body>
</html>
